import { createApp } from "vue";
import "./style.css";
import App from "./App.vue";
import router from "./router/index"; // 引入路由
import "./assets/iconfont/iconfont.css";
import "./assets/style/im.scss";
import { useEventBus } from "./hooks/useEventBus";
import { createPinia } from "pinia";
const app = createApp(App);
app.config.globalProperties.$eventBus = useEventBus();
app.use(router);
app.use(createPinia());
app.mount("#app");
